//调用接口配置文件
import { request } from 'config/request'
// 定义接口
export async function getMemberList(params) {
    return request({
        url: 'admin/agent/info',
        method: 'POST',
        data: params
    });
};
export async function getMemberDetail(params) {
    return request({
        url: `admin/agent/info/${params.id}`,
        method: 'GET',

    });
};
// 导出接口
export async function downLoadFile(params) {
    return request({
        url: `admin/agent/export/${params.id}`,
        method: 'GET',

    });
};
